"""This module provides functions to help dealing with handling date or datetime.
"""

from .datetime_tools import (
    datetimestr_to_datetime,
    datestr_to_datetime,
    date_to_datetime,
    DateRangeGenerator,
)

from .timezone_tools import utcnow, to_utc_datetime, naive_to_aware, KNOWN_TIMEZONES

# Common datetime str format
FMT_DATETIME = "%Y-%m-%dT%H:%M:%S.%fZ"

__all__ = [
    datestr_to_datetime,
    datetimestr_to_datetime,
    date_to_datetime,
    utcnow,
    to_utc_datetime,
    naive_to_aware,
    KNOWN_TIMEZONES,
    DateRangeGenerator,
]
